package com.epro.dx.pullview;

import com.epro.dx.pullview.PullToRefreshBase.AnimationStyle;
import com.epro.dx.pullview.PullToRefreshBase.Mode;
import com.epro.dx.pullview.PullToRefreshBase.Orientation;

import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebView;
import android.widget.ScrollView;

public class PullToRefreshWebView extends PullToRefreshBase<WebView> {
	public PullToRefreshWebView(Context context) {
		super(context);
	}

	public PullToRefreshWebView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public PullToRefreshWebView(Context context, Mode mode) {
		super(context, mode);
	}

	public PullToRefreshWebView(Context context, Mode mode,
			AnimationStyle animStyle) {
		super(context, mode, animStyle);
	}

	@Override
	public com.epro.dx.pullview.PullToRefreshBase.Orientation getPullToRefreshScrollDirection() {
		return Orientation.VERTICAL;
	}

	@Override
	protected WebView createRefreshableView(Context context, AttributeSet attrs) {
		WebView webView = new WebView(context);
        return webView;
	}

	@Override
	protected boolean isReadyForPullEnd() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	protected boolean isReadyForPullStart() {
		// TODO Auto-generated method stub
		return false;
	}

}
